package com.deyuanyun.pic.settings.mapper.org;

import com.deyuanyun.pic.settings.controller.dto.org.CompanyDTO;
import com.deyuanyun.pic.settings.controller.dto.org.CompanyVO;
import com.deyuanyun.pic.settings.domain.org.Company;

import java.util.HashMap;
import java.util.List;

public interface CompanyMapper {
    int deleteByPrimaryKey(HashMap param);

    int insert(Company record);

    int insertSelective(Company record);

    Company selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Company record);

    int updateByPrimaryKey(Company record);
    
    int updateState(HashMap param);

    /**
     * 根据条件查询公司信息
     * @param
     * @return
     * @author axiao(xj08.dream@gmail.com)
     * @date 2016-11-09
     */
    List<CompanyDTO> queryAll(CompanyVO companyVO);

}